#!/bin/bash
#开发环境配置
cd server
export LOBSTER_HOST_IP='127.0.0.1'

export LOBSTER_REDIS_HOST='193.112.104.19'
export LOBSTER_REDIS_PORT=6380
export LOBSTER_REDIS_PWD='123456'

export LOBSTER_MYSQL_HOST='193.112.104.19'
export LOBSTER_MYSQL_PORT=3306
export LOBSTER_MYSQL_USER='world'
export LOBSTER_MYSQL_PWD='World_0102'
export LOBSTER_MYSQL_DBNAME='cocosnet'

# export LOBSTER_CLUSTER_FILE='cluster_all'
export LOBSTER_SET_FILE='setting.server_setting'

./run.sh loggerserver &
sleep 1
./run.sh dbserver &
sleep 1
./run.sh nodeserver &
sleep 1
./run.sh zoneserver  &
sleep 1
./run.sh loginserver &
./run.sh hallserver &
sleep 1
./run.sh gateserver _login &
./run.sh gateserver _auth &

./run.sh gameserver _niuniu &
# # sleep 1